package com.smart.mattress.account.server;

import java.io.InputStream;

import com.mongodb.gridfs.GridFSDBFile;

/**
 * 将文件存储在mongo中
 * @author Administrator
 *
 */
public interface FileStoreService {

	public boolean saveFile(String filename,String orgname, InputStream file);
	
	public GridFSDBFile findByFileName(String filename);
	
	public boolean deleteByFileName(String filename);
}
